package com.gx.project.controller;

import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author gx
 * @description
 */
@RestController
@RequestMapping("/root")
@Validated
public class PingController {


    @PostMapping("/ping")
    public Long ping(){
        return 300L;
    }

}
